Fifth Chapter –magento Resource allocationMaintaining database synchronization in the development and production environments is a headache for any project that is frequently updated. Magento provides a set of systems to address this problem with
Magento and magento functions. Magento common functions: magento common functions 1. how to specify a custom data source for source in the Magentoeav_attribute table if the referenced class name is yebihai_usermanage_model_entity_school your magento
Magento commonly used functions, Magento common functions
1.Magento eav_attribute table in how source specifies a custom data sourceIf you refer to the class name Yebihai_usermanage_model_entity_school you must give the address completely, not
In any fast iteration of the project, how to ensure the development and production (current network) database synchronization is a very headache. Magento provides a system to create a resource migration version that can help us deal with the
principle:The Magento is based on the Zend framework, so the underlying is still Zend Zend DBTrace the following function to the file app/code/core/mage/catalog/model/resource/eav/mysql4/config.php getattributesusedinlisting ()/** * Retrieve
Anatomy configuration script
Let's analyze the above Code. [Translator's note: The authors mix "Install script", "upgrade script", and "setup script ". I try my best to distinguish between them during translation. The configuration script contains
When I first came into contact with magento, I encountered many problems. Most of them were magento configuration and operation problems, because soon after I got in touch with magento, I was unfamiliar with these problems and did not know how to
1.Magento eav_attribute table in how source specifies a custom data sourceIf you refer to the class name Yebihai_usermanage_model_entity_school you must give the address completely, not usermanage/entity_school, so the default is to find under
The Magento database table structure is quite complex, with more than 250 tables containing a very large number of table associations, which is really a headache for developers who have just come into contact with Magento. It is often seen that the
Magento Version: 1.7.0.21. Table Core_config_dataChange the web/unsecure/base_url and web/secure/base_urlof the Path field to the currently used URL2. Table Log_url_infoChanging field URLs and referer, using SQL statements to bulk ModifyFor
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.